package com.ldn.basic.enums;

/**
 * @author 李大牛家的牛 (scafel@163.com)
 * @createDate 2024/7/11 - 16:22
 * @description ...
 **/
public enum CachePrefixEnums {

    ROLES("roles-"),

    ROLE("role-"),

    MENU("menu-"),

    MENU_ACTION("menu-action-"),

    STAFF("staff-"),

    STAFF_ROLE("staff-role-"),

    STAFF_ROLES("staff-roles-"),

    STAFF_MENU("staff-menu-"),

    STAFF_MENU_ACTION("staff-menu-action-"),
    WX_LOGIN("wechat-login-"),
    WX_MIN_LOGIN("wechat-minprogram-login-"),
    WX_MIN_WECHAT_USER("wechat-minprogram-user-"),

    LOGIN("login-");



    /**
     * 自定义描述
     **/
    private final String prefix;

    CachePrefixEnums(String prefix) {
        this.prefix = prefix;
    }

    public String getPrefix() {
        return prefix;
    }
}
